package com.zhangxun.service;

import com.zhangxun.domain.Basket;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangxun.vo.CartMoney;
import com.zhangxun.vo.CartVo;

import java.util.List;

/**
* @author 张循
* @description 针对表【basket(购物车)】的数据库操作Service
* @createDate 2023-01-07 16:55:01
*/
public interface BasketService extends IService<Basket> {

    CartVo selectInfo();

    Boolean saveOrUpdateBasket(Basket basket);

    CartMoney totalPay(List<Long> basketIds);
}
